package com.qfedu.edu.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author xiaobobo
 * @title: FrameworkProperties
 * @projectName cd-fy-2401-third-project-parent
 * @description: TODO
 * @date 2024/9/18  15:59
 */
@ConfigurationProperties(prefix = "framework.config")
public class FrameworkProperties {
    //默认不使用
    private Boolean swagger = false;

    //默认不使用这个mp
    private Boolean mp = false;

    private Boolean mq=false;

    public Boolean getMq() {
        return mq;
    }

    public void setMq(Boolean mq) {
        this.mq = mq;
    }

    //默认情况下不使用这个Redis
    private Boolean redis=false;

    public Boolean getRedis() {
        return redis;
    }
    public void setRedis(Boolean redis) {
        this.redis = redis;
    }
    public Boolean getMp() {
        return mp;
    }

    public void setMp(Boolean mp) {
        this.mp = mp;
    }

    public Boolean getSwagger() {
        return swagger;
    }

    public void setSwagger(Boolean swagger) {
        this.swagger = swagger;
    }
}
